<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>TraffoSim Installer</title>
</head>

<body>
<pre><strong>Primary Actor</strong>: TraffoSim Installer</pre>
<pre>&nbsp;</pre>
<pre><strong>Stakeholders and Interest</strong>:</pre>
<pre>Installer: Wants correct installment for the right system.</pre>
<pre>Installation Tester:&nbsp; Needs the application to test if installation is running properly.</pre>
<pre>Simulator Operator, Analysis Development, etc, all need to use the simulator for testing purposes.</pre>
<pre>&nbsp;</pre>
<pre><strong>Preconditions</strong>:</pre>
<pre>TraffoSim Download - Was successful.</pre>
<h3>Install Java 1.5</h3>

  <ul>
    <li>Install the Java JDK (the full JDK, not just the JRE) by following the
      instructions at <a href="http://java.sun.com">http://java.sun.com</a>.</li>
    <li>Set the JAVA_HOME environment variable to point to your Java
      installation (for example, <a href="file:///c:/java/jdk1.5.0_08">c:\java\jdk1.5.0_08</a>)</li>
    <li>Add JAVA_HOME/bin to your PATH variable.&nbsp;</li>
  </ul>
  <h3>Install Ant 1.7</h3>
  <ul>
    <li>Download and unzip apache-ant-1.7.0Beta1.zip (or later) from <a href="http://ant.apache.org/">http://ant.apache.org/</a>.&nbsp;</li>
    <li>Set the ANT_HOME environment variable to point to your Ant installation
      (for example, <a href="file:///c:/apache-ant-1.7.0Beta1">c:\apache-ant-1.7.0Beta1</a>)</li>
    <li>Add ANT_HOME/bin to your PATH variable.&nbsp;</li>
  </ul>
<pre>Valid E-mail address - for legitimate access to program and resources.</pre>
<pre>Hardware and System requirements (enough memory and CPU power necessary).</pre>
<pre>&nbsp;</pre>
<pre><strong>Success Guarantee (postconditions)</strong>:</pre>
<pre>Installation of TraffoSim.</pre>
<pre>Successful Starting up of TraffoSim.</pre>
<pre>Ready to run installation tests.</pre>
<pre>&nbsp;</pre>
<pre><strong>Main Success Scenario</strong>(typical acquiring and installation of TraffoSim)

</pre>
<pre>  1.  run ant verify.build.xml over downloaded TraffoSim directory.</pre>
<pre>  2.  Installer: Goes through wizard to set up essential files, checks valid specifications, and allows specified directory to install files.</pre>
<pre>  3.  Wizard: Wizard alerts that installation was ok.</pre>
<pre>  4.  Installer: Runs TraffoSim and User Interface (UI) shows up.</pre>
<pre>&nbsp;&nbsp;&nbsp; </pre>
<pre><strong>Extensions</strong> (Alternate course):</pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;1. Verify.build.xml fails:</pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Try to fix error.</pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. Report error to developers in issues on the website.</pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;2a. Entered wrong Directory:</pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Installer uninstalls TraffoSim.</pre>
<pre>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. Installer then runs the wizard again with correct directory.</pre>
<pre>&nbsp;&nbsp;&nbsp; 2b. Entered invalid Directory:</pre>
<pre>        1. Error pops up, stating that the Installer must type in a valid directory or
           directory name with out special characters.</pre>
<pre>&nbsp;&nbsp;&nbsp; 3a. Wizard alerts an error:</pre>
<pre>        1. Installer fixes error with possible solution, and repeats Steps 1 and 2 again.&nbsp;
           Error probably produces because one of the requirements where un-met (memory).</pre>
<pre>&nbsp;&nbsp;&nbsp; 4a. User Interface (UI) doesn't show up:</pre>
<pre>        1. Installer makes sure that other application are not interfering, and tries it again.</pre>
<pre>           If UI still doesn't show up then uninstall and repeat Steps 1-3 again.

</pre>
<pre><strong>Special Requirements</strong>:</pre>
<pre>&nbsp;&nbsp;&nbsp; n/a

</pre>
<pre><strong>Technology and Data Variations List</strong>:</pre>
<pre>&nbsp;&nbsp;&nbsp; *check if there is?*</pre>
<pre>&nbsp;</pre>
<pre><strong>Frequency of Occurrence</strong>:</pre>
<pre>&nbsp;&nbsp;&nbsp; Rare to occasional.</pre>
<pre>&nbsp;</pre>
<pre><strong>Open Issues</strong></pre>
<pre>&nbsp;&nbsp;&nbsp; None known.</pre>

</body>
</html>
